package edu.zut.cs.software.estateagent.order.domain;

import javax.persistence.Entity;
import javax.persistence.Table;

import edu.zut.cs.software.base.domain.BaseEntity;

@Table(name = "T_LeasingOrder")
@Entity
public class LeasingOrder extends BaseEntity {
	private static final long serialVersionUID = -8731110204685289927L; // 生成序列化ID，防止反序列化失败
	private String date; // 订单时间
	private String name; //订单名称
	private String quantity; //订单数量
	private double amount; //订单金额
	private String consumer; //客户
	private double holdername; //房主
	private double trading_hour; //交易时间

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getQuantity() {
		return quantity;
	}

	public void setQuantity(String quantity) {
		this.quantity = quantity;
	}

	public double getAmount() {
		return amount;
	}

	public void setAmount(double amount) {
		this.amount = amount;
	}

	public String getConsumer() {
		return consumer;
	}

	public void setConsumer(String consumer) {
		this.consumer = consumer;
	}

	public double getHoldername() {
		return holdername;
	}

	public void setHoldername(double holdername) {
		this.holdername = holdername;
	}

	public double getTrading_hour() {
		return trading_hour;
	}

	public void setTrading_hour(double trading_hour) {
		this.trading_hour = trading_hour;
	}
}
